@import "base.css";
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdr.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7g.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdr.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 300;
  src: local('Noto Serif SC Light'), local('NotoSerifSC-Light'), url(https://fonts.gstatic.com/s/notoserifsc/v7/H4c8BXePl9DZ0Xe7gG9cyOj7mgq0ezdLEA.otf) format('opentype');
}
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 400;
  src: local('Noto Serif SC'), local('NotoSerifSC-Regular'), url(https://fonts.gstatic.com/s/notoserifsc/v7/H4chBXePl9DZ0Xe7gG9cyOj7kqGWbQ.otf) format('opentype');
}
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 600;
  src: local('Noto Serif SC SemiBold'), local('NotoSerifSC-SemiBold'), url(https://fonts.gstatic.com/s/notoserifsc/v7/H4c8BXePl9DZ0Xe7gG9cyOj7mn6yezdLEA.otf) format('opentype');
}
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Noto Serif SC'), local('NotoSerifSC-Regular'), url(https://fonts.gstatic.com/s/notoserifsc/v7/H4chBXePl9DZ0Xe7gG9cyOj7koSWbQ.otf) format('opentype');
}
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Noto Serif SC Bold'), local('NotoSerifSC-Bold'), url(https://fonts.gstatic.com/s/notoserifsc/v7/H4c8BXePl9DZ0Xe7gG9cyOj7mhqzexJLEA.otf) format('opentype');
}
* {
  padding: 0 ;
  margin: 0 ;
}
body {
  width: 100% ;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  flex-wrap: wrap;
}
body::before {
  content: "";
  top: 0 ;
  left: 0 ;
  bottom: 0 ;
  right: 0 ;
  opacity: 0.06;
  position: fixed ;
  background: center / cover no-repeat;
  background-image: url("../img/indexBackground.png");
}
main {
  position: relative ;
  flex: 1 ;
  top: 10px ;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  min-width: 700px ;
}
main .placeHolder {
  min-height: 50px ;
}
main .top-container {
  position: relative;
  width: 75% ;
  max-width: 75% ;
  min-height: 150px ;
  max-height: 150px ;
  box-shadow: 0px 0px 5px black ;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
main .top-container::before {
  content: "";
  position: absolute;
  top: -55px;
  width: 750px ;
  height: 70px ;
  left: 50% ;
  margin-left: -375px;
  background: url("../img/spr-1.png") no-repeat;
}
main .top-container::after {
  content: "";
  position: absolute;
  bottom: -55px;
  width: 750px ;
  height: 70px ;
  left: 50% ;
  margin-left: -375px;
  background: url("../img/spr-2.png") no-repeat;
}
main .top-container .time-stamp {
  position: absolute;
  top: -30px;
  left: 10px ;
  user-select: none;
  white-space: nowrap ;
}
main .top-container .time-stamp #site-time {
  margin-left: 30px ;
  font-size: 0.7em;
  font-weight: 400 ;
  letter-spacing: 1.5px;
  color: #636e72;
}
main .top-container .type-box {
  position: relative;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
main .top-container .type-box #hitokoto-text {
  position: relative;
  width: 0 ;
  padding: 0 ;
  padding-bottom: 20px ;
  overflow: hidden;
  line-height: 40px ;
  text-align: center ;
  font-weight: 700 ;
  font-size: 20px ;
  letter-spacing: 1.7px;
  text-shadow: 0px 0px 2px #b1b1b1;
  white-space: nowrap;
  -webkit-animation: typer 4s steps(36, end) forwards;
  animation: typer 4s steps(36, end) forwards;
  animation-delay: 1.5s;
  font-family: "Noto Serif SC", "HiraMinProN-W6", "Source Han Serif CN", "Source Han Serif SC", "Source Han Serif TC", serif;
}
main .top-container .type-box .bottom-blink {
  width: 15px ;
  margin-bottom: -2px;
  margin-left: 2px ;
  border-bottom: solid 2px black ;
  animation: typeBlink 500ms steps(44) infinite normal;
}
main .top-container #hitokoto-info {
  position: absolute;
  bottom: 10px ;
  right: 10px ;
  letter-spacing: 1.5px;
  color: #2d3436;
  text-shadow: 1px 1px 2px #606975, -1px -1px 2px white;
  font-family: "Noto Serif SC", "HiraMinProN-W6", "Source Han Serif CN", "Source Han Serif SC", "Source Han Serif TC", serif;
}
main .top-container .fun-btn-1 {
  position: absolute;
  box-sizing: border-box;
  width: 30px ;
  height: 30px ;
  background-color: #f5f6fa;
  left: -15px;
  top: 20px ;
  -webkit-box-shadow: 0px 0px 5px #353b48;
  box-shadow: 0px 0px 5px #353b48;
  transition: 0.3s;
  cursor: pointer;
  /* &::before{
                content: "";
                box-sizing: border-box; 
                position: absolute; 
                display: none;
                width: 40px ;
                height: 40px ;
                left: 50% ;
                margin-left: -20px ;
                top: 50% ;
                margin-top: -20px ;
                border: solid 1px #2f3640 ;
                transition: 0.3s ;
                transform: scale(2);
                opacity: 0 ;
            }
            &::after{
                content: "";
                box-sizing: border-box; 
                position: absolute; 
                display: none;
                width: 50px ;
                height: 50px ;
                left: 50% ;
                margin-left: -25px ;
                top: 50% ;
                margin-top: -25px ;
                border: solid 2px #2f3640 ;
                transition: 0.3s ;
                transform: scale(2);
                opacity: 0 ;
            } */
  /* &:hover::before{
                display: block;
                opacity: 0.9 ;
                transform: scale(1) ;
                border: solid 2px transparent ;
            }
            &:hover::after{
                display: block;
                opacity: 0.9 ;
                transform: scale(1) ;
                border: solid 2px transparent ;
            } */
}
main .top-container .fun-btn-1:hover {
  background-color: #2f3640;
  transform: rotateZ(90deg);
}
main .top-container .fun-btn-2 {
  position: absolute;
  width: 30px ;
  height: 30px ;
  background-color: #f5f6fa;
  left: -15px;
  bottom: 20px ;
  -webkit-box-shadow: 0px 0px 5px #353b48;
  box-shadow: 0px 0px 5px #353b48;
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
  line-height: 30px ;
}
main .top-container .fun-btn-2 .iconfont {
  transition: 0.3s;
}
main .top-container .fun-btn-2::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid 2px #fab1a0;
  width: 150%;
  height: 150%;
  left: 50%;
  margin-left: -75%;
  top: 50%;
  margin-top: -75%;
  transition: 0.3s;
  transform: scale(0);
  transform-origin: 50% 50%;
  -webkit-box-shadow: 0px 0px 7px #535c68;
  -moz-box-shadow: 0px 0px 7px #535c68;
  box-shadow: 0px 0px 7px #535c68;
  z-index: -1;
}
main .top-container .fun-btn-2::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid 1px #ff7675;
  width: 170%;
  height: 170%;
  left: 50%;
  margin-left: -85%;
  top: 50%;
  margin-top: -85%;
  transition: 0.3s;
  transform: scale(0);
  transform-origin: 50% 50%;
  -webkit-box-shadow: 0px 0px 7px #535c68;
  -moz-box-shadow: 0px 0px 7px #535c68;
  box-shadow: 0px 0px 7px #535c68;
  z-index: -1;
}
main .top-container .fun-btn-2:hover {
  opacity: 0.9;
  transform: rotateZ(45deg);
  background-image: linear-gradient(150deg, #ff7675, #fab1a0, #81ecec, #18dcff);
  background-size: 300%;
  animation: bgAnimation 5s infinite ;
}
main .top-container .fun-btn-2:hover .iconfont {
  color: white ;
  font-size: 30px ;
}
main .top-container .fun-btn-2:hover::before {
  transform: scale(1);
  animation: btnRote1 2s infinite ;
}
main .top-container .fun-btn-2:hover::after {
  transform: scale(1);
  animation: btnRote2 2s infinite ;
}
main .main-container {
  position: relative;
  margin-top: 10px ;
  flex: 1 ;
  display: flex ;
  width: 75% ;
  max-width: 75% ;
  flex-direction: column;
}
main .main-container .article-box {
  position: relative;
  flex: 0 auto ;
  width: 100% ;
  height: 220px ;
  margin-bottom: 50px ;
  padding: 0 ;
}
main .main-container .article-box .post-meta {
  position: absolute;
  top: 20px ;
  left: 30px ;
  width: auto;
  user-select: none;
  letter-spacing: 1.2px;
  font-size: 0.7em;
  font-family: "Josefin Sans Light", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "'Hiragino Sans GB", STHeiti, "Microsoft Yahei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", Arial, Verdana, sans-serif;
  color: #2f3542;
}
main .main-container .article-box .post-meta a {
  color: #2f3542;
  margin-left: 5px ;
}
main .main-container .article-box .post-meta .post-cate {
  text-decoration: underline;
}
main .main-container .article-box .post-meta .post-tag {
  margin-left: 5px ;
  text-decoration: underline;
}
main .main-container .article-box .article-title {
  position: absolute;
  box-sizing: border-box;
  padding-left: 10px ;
  padding-right: 10px ;
  top: 40px ;
  left: 10px ;
  height: 40px ;
  width: auto;
  text-align: center;
  line-height: 40px ;
  font-size: 20px ;
  font-weight: bold;
  letter-spacing: 1.3px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  font-family: "Josefin Sans Light", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "'Hiragino Sans GB", STHeiti, "Microsoft Yahei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", Arial, Verdana, sans-serif;
  color: #2f3542;
  transition: 0.5s;
  cursor: pointer;
  z-index: 1 ;
}
main .main-container .article-box .article-title:hover {
  background-color: #2f3542;
  color: #f1f2f6;
}
main .main-container .article-box .box-background {
  position: absolute ;
  height: 70% ;
  width: 100% ;
  bottom: 0 ;
  /* -webkit-box-shadow: 0px 5px 5px #747d8c;
                box-shadow: 0px 5px 5px #747d8c; */
}
main .main-container .article-box .box-main {
  position: absolute ;
  height: 70% ;
  width: 100% ;
  bottom: 0px ;
  background-color: rgba(241, 242, 246, 0.5);
  /* &::after {
                  content: "";
                  display: block;
                  width: 0px;
                  height: 0px;
                  background-color: skyblue;
                  top: 0px;
                  right: 0px;
                  border-bottom: 20px solid #ced6e0;
                  border-left: 20px solid #ced6e0;
                  border-right: 20px solid #ffffff;
                  border-top: 20px solid #ffffff;
                  position: absolute;
                  -webkit-filter: drop-shadow(-5px 5px 3px rgba(0, 0, 0, 0.3));
                          filter: drop-shadow(-5px 5px 3px rgba(0, 0, 0, 0.3));
                }
                &::before {
                  content: "";
                  display: block;
                  width: 0px;
                  height: 0px;
                  border-top: 30px solid #ced6e0;
                  border-right: 30px solid #ced6e0;
                  border-left: 30px solid #ffffff;
                  border-bottom: 30px solid #ffffff;
                  bottom: 0px;
                  left: 0px;
                  position: absolute;
                  -webkit-filter: drop-shadow(7px -7px 5px rgba(0, 0, 0, 0.3));
                          filter: drop-shadow(7px -7px 5px rgba(0, 0, 0, 0.3));
                  margin-right: 10%;
                } */
}
main .main-container .article-box .box-main::before {
  content: "";
  position: absolute;
  display: block;
  width: 380px ;
  height: 100%;
  right: 50% ;
  margin-right: -190px;
  top: -90px;
  background: url("../img/bg-zero-1.png") no-repeat;
  z-index: -1;
}
main .main-container .article-box .box-main::after {
  content: "";
  position: absolute;
  display: block;
  width: 800px ;
  height: 40px ;
  right: 50% ;
  margin-right: -400px;
  bottom: -20px;
  background: url("../img/bg-zero-2.png") no-repeat;
  z-index: -1;
}
main .main-container .article-box .box-main p {
  text-indent: 2em;
  font-size: 14px;
  letter-spacing: 1.3px;
  line-height: 1.7em;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  text-overflow: ellipsis;
  position: absolute;
  right: 50px ;
  left: 90px ;
  bottom: 10px ;
  top: 20px ;
  font-family: "Josefin Sans Light", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "'Hiragino Sans GB", STHeiti, "Microsoft Yahei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", Arial, Verdana, sans-serif;
  color: #606975;
}
